﻿package com.example.demo.dao
import com.example.demo.dbmodels.*
import me.liuwj.ktorm.schema.*
import java.math.BigDecimal
/**
 * View
 *  VIEW
 **/
object VDeviceDao : Table<VDevice>("v_device"){
	var id = int("id").bindTo { it.id }
	var device_no = int("device_no").bindTo { it.device_no }
	var device_mac = int("device_mac").bindTo { it.device_mac }
	var device_ip = int("device_ip").bindTo { it.device_ip }
	var device_type = int("device_type").bindTo { it.device_type }
	var register_bed = int("register_bed").bindTo { it.register_bed }
	var register_state = int("register_state").bindTo { it.register_state }
	var app_version = int("app_version").bindTo { it.app_version }
	var nurseboard_ip = int("nurseboard_ip").bindTo { it.nurseboard_ip }
	var last_up_time = int("last_up_time").bindTo { it.last_up_time }
	var last_app_version = int("last_app_version").bindTo { it.last_app_version }
	var dept_code = int("dept_code").bindTo { it.dept_code }
	var update_time = int("update_time").bindTo { it.update_time }
	var update_by = int("update_by").bindTo { it.update_by }
	var device_type_name = int("device_type_name").bindTo { it.device_type_name }
	var update_by_who = int("update_by_who").bindTo { it.update_by_who }
	var bed_code = int("bed_code").bindTo { it.bed_code }
	var dept_name = int("dept_name").bindTo { it.dept_name }
}
